package tk.mybatis.springboot.wexin.bean;

import tk.mybatis.springboot.wexin.enums.WechatButtonIdentEnum;
import tk.mybatis.springboot.wexin.enums.WechatButtonTypeEnum;
import tk.mybatis.springboot.wexin.enums.WechatMessageTypeEnum;

/**
 * 微信菜单自定义管理
 */
public class TWechatButton extends BaseEntitys {

	private static final long serialVersionUID = -8218350151882457036L;

	/** 菜单标题 */
	private String title;

	/** 标识,同ident(可能要做成枚举来选择) */
	private WechatButtonIdentEnum ident;

	/** 按钮类型，是点击还是跳转链接等 */
	private WechatMessageTypeEnum type;

	/** 链接地址 */
	private String url;

	/** 上级菜单的uuid */
	private String button_uuid;

	/** 备注 */
	private String info;

	/** 排序 */
	private Integer orders;

	/** 个性化菜单的标识 */
	private WechatButtonTypeEnum button_type;

	// ================== 在回复媒体文件时，下面可用

	/** 回复媒体文件的类型，只包含 image、voice、video、news（文本走自动回复） */
	private WechatMessageTypeEnum media_type;

	/** 媒体的类型的ids,按照,切割，支持多个(图文) */
	private String media_ids;

	/** 媒体类型的微信端永久素材标识，目前仅用于返回图片时，保存的永久素材标识，其余时，为空 */
	private String media_wehcat_ids;

	/** 回复文本内容 */
	private String text;

	// =====================================

	public WechatMessageTypeEnum getType() {
		return type;
	}

	public String getMedia_wehcat_ids() {
		return media_wehcat_ids;
	}

	public void setMedia_wehcat_ids(String media_wehcat_ids) {
		this.media_wehcat_ids = media_wehcat_ids;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getMedia_ids() {
		return media_ids;
	}

	public void setMedia_ids(String media_ids) {
		this.media_ids = media_ids;
	}

	public WechatMessageTypeEnum getMedia_type() {
		return media_type;
	}

	public void setMedia_type(WechatMessageTypeEnum media_type) {
		this.media_type = media_type;
	}

	public WechatButtonTypeEnum getButton_type() {
		return button_type;
	}

	public void setButton_type(WechatButtonTypeEnum button_type) {
		this.button_type = button_type;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public WechatButtonIdentEnum getIdent() {
		return ident;
	}

	public void setIdent(WechatButtonIdentEnum ident) {
		this.ident = ident;
	}

	public void setType(WechatMessageTypeEnum type) {
		this.type = type;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getButton_uuid() {
		return button_uuid;
	}

	public void setButton_uuid(String button_uuid) {
		this.button_uuid = button_uuid;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public TWechatButton() {
		super();
	}

	public Integer getOrders() {
		return orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

}

